

      // 绑定事件
  var indector = document.querySelector(".slide-index");
  indector.addEventListener(
    "click",
    function(e) {
      var target = e.target;
      if (target.nodeName.toUpperCase() === "A") {
        var index = target.innerHTML - 1;
        move(index);
      }
    },
    false
  );